package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HisEngineRulePrescriptionRights;

/**
 * 处方权规则Mapper接口
 * 
 * @author Alan
 * @date 2024-03-07
 */
public interface HisEngineRulePrescriptionRightsMapper 
{
    /**
     * 查询处方权规则
     * 
     * @param id 处方权规则主键
     * @return 处方权规则
     */
    public HisEngineRulePrescriptionRights selectHisEngineRulePrescriptionRightsById(Long id);

    /**
     * 查询处方权规则列表
     * 
     * @param hisEngineRulePrescriptionRights 处方权规则
     * @return 处方权规则集合
     */
    public List<HisEngineRulePrescriptionRights> selectHisEngineRulePrescriptionRightsList(HisEngineRulePrescriptionRights hisEngineRulePrescriptionRights);

    /**
     * 新增处方权规则
     * 
     * @param hisEngineRulePrescriptionRights 处方权规则
     * @return 结果
     */
    public int insertHisEngineRulePrescriptionRights(HisEngineRulePrescriptionRights hisEngineRulePrescriptionRights);

    /**
     * 修改处方权规则
     * 
     * @param hisEngineRulePrescriptionRights 处方权规则
     * @return 结果
     */
    public int updateHisEngineRulePrescriptionRights(HisEngineRulePrescriptionRights hisEngineRulePrescriptionRights);

    /**
     * 删除处方权规则
     * 
     * @param id 处方权规则主键
     * @return 结果
     */
    public int deleteHisEngineRulePrescriptionRightsById(Long id);

    /**
     * 批量删除处方权规则
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHisEngineRulePrescriptionRightsByIds(Long[] ids);
}
